const routes = [
    {
        path: 'study1',
        name: '自定义组件',
        component: () => import('@/views/components/study1'),
        redirect: '/study1/example1',
        children: [
            {
                path: 'example1',
                name: '自定义组件中v-model的基本使用',
                component: () => import('@/views/components/study1/example1')
            },
            {
                path: 'example2',
                name: '模仿ui框架中如何实现v-model',
                component: () => import('@/views/components/study1/example2')
            },
            {
                path: 'example3',
                name: '不生效的v-model',
                component: () => import('@/views/components/study1/example3')
            },
            {
                path: 'example4',
                name: '.sync双向修改变量的值',
                component: () => import('@/views/components/study1/example4')
            },
            {
                path: 'example5',
                name: '.sync双向控制显示隐藏',
                component: () => import('@/views/components/study1/example5')
            }
        ]
    },
    {
        path: 'study2',
        name: 'Vue.extend的使用',
        component: () => import('@/views/components/study2')
    }
]
export default routes;
